<template>
  <div class="header-wrapper">
    <span class="logo"></span>
    <span>Chicken Music</span>
    <router-link to="/user">
      <span class="icon-mine user"></span>
    </router-link>
  </div>
</template>

<script>
export default {
  name: 'm-header'
}
</script>

<style lang="stylus" scoped>
  @import '~common/stylus/variable.styl'
  @import '~common/stylus/mixin.styl'
  .header-wrapper {
    height: 36px
    line-height: 36px
    background: $color-background
    color: $color-theme
    text-align: center
    font-size: $font-size-large
    .logo {
      display: inline-block
      width: 25px
      height: 26px
      margin-top: 5px
      margin-right: 10px
      bg-image('logo')
      background-size: contain
      vertical-align: -5px
    }
    .user {
      position: absolute
      right: 0
      top: 0
      height: 36px
      line-height: 36px
      padding: 0 14px
      color: $color-theme
    }
  }
</style>
